home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_311 / echo / echo.examples < prev    next >
Text File  |  1992-05-06  |  3KB  |  60 lines

  1. ; Sample script by George Kerber to demonstrate the new echo command
  2. ; Version 1.01    08/28/89     Modified 09/16/89
  3.  
  4. echo -c -d 1 -m 4 "This script will show two examples of what my new echo command"
  5. echo -m 4 "can do, *3pay attention*4....  *n*n"
  6. echo -m 4 "In the old AmigaDOS days you could do only this:"
  7. echo -m 4 "1> echo *qtest string*q"
  8. echo -d 1 -m 4 "Now lines like this are possible: "
  9. echo -m 4 "1> echo -c -p 10,13 -a 5 -n *q******** test **3string**1 *********q"
  10. echo -d 1 -m 4 "Starting at the left,"
  11. echo -d 1 -m 4 " -c clears the screen."
  12. echo -m 4 " -p 10,13 moves the cursor to character position 10, line 13."
  13. echo -m 4 " -a 5 sets characters to bold."
  14. echo -m 4 " -n prevents a newline after printing the string (this is the same"
  15. echo -m 4 "    as NOLINE in AmigaDOS echo, my echo supports NOLINE too)."
  16. echo -m 4 " **3 is an escape value setting the color to *3color 3*1."
  17. echo -m 4 " **1 is an escape value setting the color to color 1."
  18. echo -d 1 -n -x "Ready?   Press <return> to execute this example."
  19. ask " "
  20. echo -c -p 10,13 -a 5 -n "**** test *3string*1 **** "
  21. wait 1
  22. echo -m 4 -n "Well*3.*2.*1.*3.*2.*1."
  23. wait 1
  24. echo -p 0,21 -a 3,@ -n -x " Press <return> to continue. "
  25. ask " "
  26. lab 20
  27. echo -c -d 2 -m 4 "Or how about blocking part of the screen with color?"
  28.  
  29. echo -p 10,6
  30. echo -p 10,18 -a @ "                                                         *n*n"
  31. echo -p 10,8 -a @ "                                                         "
  32. echo -p 10,9 -a @ "       *3With orange text....      *5bolded*4*@                  "
  33. echo -p 10,10 -a @ "                                                         "
  34. echo -p 10,12 -a @ "                                                         "
  35. echo -p 10,7 -a @ "                                                         "
  36. echo -p 10,13 -a @ "       *0With blue text......          *7italics*4*@             "
  37. echo -p 10,14 -a @ "                                                         "
  38. echo -p 10,15 -a @ "      *7Italics*4*@    *5Bold*4*@    *6Underline*4*@  *6*7*5ALL THREE*4*@            "
  39. echo -p 10,16 -a @ "                                                         "
  40. echo -p 10,11 -a @ "       *1With white text.....              *6underlined*4*@      "
  41. echo -p 10,17 -a @ "              *IPress <return> to continue....*4*@             "
  42. echo -p 55,17 -n -k
  43.  
  44.  
  45. ask ""
  46. echo -p 10,16 -a @ "                                                         "
  47. echo -p 10,17 -a @ "                                                         "
  48. echo -p 10,18 -a @ "                                                         "
  49.  echo -p15,8 -a # "                                                "
  50.  echo -p15,9 -a # "                                                "
  51. echo -p15,10 -a # "        *2*I*5*qMay I suggest?*q*4*#                        "
  52. echo -p15,11 -a # "                                                "
  53. echo -p15,12 -a # "                                                "
  54. echo -p15,13 -a 0,# "        Take a look at this batch file          "
  55. echo -p15,14 -a #,0 "        to see *Uhow it's done*4*#....                "
  56. echo -p15,15 -a # "                                                "
  57. echo -p15,16 -a # "         *5Good Luck!*4*#                             "
  58. echo -p15,17 -a # "                                                "
  59. echo -p0,20
  60.